package com.qiall.omsserver.service.ssh.sftp;

import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Vector;

@RestController
@RequestMapping("sftp")
public class SftpController {

    @PostMapping("/connect")
    public void connect(int applicationId) {

    }

    @GetMapping("/dir")
    public Vector getDir(HttpServletRequest request, HttpServletResponse response, @RequestParam("dir") String path, String host) {
         return null;
    }

}
